package com.shanzmoo.db.module.member.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 会员账户充值订单表
 * </p>
 *
 * @author wangyudi
 * @since 2021-03-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("member_account_recharge_order")
public class MemberAccountRechargeOrderEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 订单编号 传递给第三方支付
     */
    private String orderNo;

    /**
     * 会员id
     */
    private String memberMerchantId;

    /**
     * 充值金额
     */
    private Long amount;

    /**
     * 订单状态 1-待付款 2-已取消 3-付款成功未充值 4-付款成功已充值
     */
    private Integer status;

    /**
     * 失败备注
     */
    private String failRemark;

    /**
     * 充值完成时间
     */
    private LocalDateTime finishTime;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    /**
     * 是否删除(0:正常,1:删除)
     */
    private Boolean deleted;


}
